<%
String status = "";
if(request.getSession().getAttribute("status") != null){
	status = (String)request.getSession().getAttribute("status");
}else if(!status.equals("ingelogd")){
	response.sendRedirect("../index.jsp?message=Log+eerst+in+om+verder+te+gaan");
}
//session.removeAttribute("status");
%>
<%@page import="model.*" %>
<%@page import="domein.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">

<head>
<title>Incentro Event Inviting System</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="../style.css" />
		
	<% 
	int eventID = Integer.parseInt(request.getParameter("eventID")); 
	request.getSession().setAttribute("eventID", eventID);
	
	EvenementenIO eIo = new EvenementenIO();
	Evenement e = eIo.getEvent(eventID);
	
	GebruikersIO gIo = new GebruikersIO();
	
	%>

</head>

<body onload="initialize()" onunload="GUnload()">

	<div id="wrapper">
		<div id="header">
			<a href="../eOverzicht.jsp" id="logo"><img src="../img/logo.png" /></a>
		</div>
			
		<h3>Uitnodiging opstellen</h3>
			
		<div id="search-form">
			<input type="submit" value="Voorbeeld" onclick="window.open('uVoorbeeld.jsp?eventID=<%out.print(eventID);%>','Test', 'width=800,height=600,scrollbars=no,toolbar=no,location=no'); return false"/>
			<a href="../eOverzicht.jsp"><input type="submit" value="Terug" class="terugButton" /></a>
			
		</div>
			
		<form id="opstelForm" action="../UitnodigingOpstellen.do" method="get" >
			<div class=" child uOpstellenArea1">
				<div id="logosUploaden">
				
					<span>
						<label for="header">Header image</label>
						<input name="header" type="text" ></input>
						<a class="tooltip" href="#">  
							<span>1 plaatje met afmetingen:<br /> 960px x 325px</span>  
						</a>
					</span>
					
					<span>
						<label for="uploadField">Logos organisatoren</label>
						
						<input name="logoOrg" type="text" ></input>
						<a class="tooltip" href="#">  
							<span>1 plaatje met afmetingen:<br /> 600 x 60 </span>  
						</a>
						
					</span>
					
					<span>
						<label for="uploadField">Logos sprekers</label>
						
						<input name="logoSpre" type="text" ></input>
						<a class="tooltip" href="#">  
							<span>1 plaatje met afmetingen:<br /> 440 x 80</span>  
						</a>
					</span>
					
					<span>
						<label for="uploadField">Logos partners</label>

						<input name="logoPartner" type="text" ></input>
						<a class="tooltip" href="#">  
							<span>1 plaatje met afmetingen:<br /> 280 x 80 </span>  
						</a>
					</span>
				</div>
				
				
				
				<br />
				
				<span> <p> Om de header en logo's in dit systeem te importeren moeten de links op <a href=http://photobucket.com/>photobucket</a> of <a href="http://imageshack.us/">imageshack</a> staan</p></span>

				</br>	 
				
			</div>

			<div class="child uOpstellenArea2">
				<label>Content</label> <br>
				<span>
					<textarea rows="5" cols="67" name="inleiding" placeholder="Vul hier uw inleiding in."></textarea>
				</span> 
				<span>
					<input type="text" name="visualNaam" placeholder="Vul hier uw titel in." id="inputTitel"></input>
				</span>
				<span>
					<textarea rows="5" cols="67" name="alinea1" placeholder="Vul hier uw eerste alinea in."></textarea>
				</span>
				<span>
					<textarea rows="5" cols="67" name="alinea2" placeholder="Vul hier uw tweede alinea in."></textarea>
				</span>
			</div>
		<div id="uOpstellenArea3">
			<label> Personaliseer e-mail</label><br>
		
				<input type="radio" name="aanhef" checked="" value="beste">Beste 
				<input type="radio" name="aanhef" id="geachteRadio" value="geachte">Geachte <br>
				<lavel> E-mail</label><br>

				<span>
					<textarea rows="5" cols="60" name="mail" placeholder="Vul hier uw mail in."></textarea>
				</span> 

				<span id="emailOnderwerp">
					<label for="emailSubject">Onderwerp e-mail</label><br />
					<textarea rows="5" cols="60" name="emailonderwerp" placeholder="Vul hier het onderwerp van de e-mail in."></textarea>
				</span>
			    
		</div>	
		
					
			<input type="submit" value="Stel op" id="form_submit" />
			
		
		</form>		

	</div>
</body>

</html>